package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author minamiyama
 * @date 2025/5/19 11:12
 *  首页聚合商品分类 实体类
 */
@Data
@TableName("t_mall_home_goods_cate")
public class MallHomeGoodsCate {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("no")
    private String no;

    @TableField("group_no")
    private String groupNo;


    @TableField("is_top3_sort")
    private Integer isTop3Sort;

    @TableField("menu_name")
    private String menuName;

    @TableField("is_sticky")
    private Integer isSticky;

    @TableField("version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}
